package com.example.carapi.service;

import com.example.carapi.bean.CarModel;

import java.util.List;

public interface CarModelService {
    CarModel getCarModelById(Long id);

    List<CarModel> getCarModels();

    void addCarModel(CarModel carModel);

    void updateCarModel(CarModel carModel);

    void deleteCarModelById(Long id);
}
